<template>
	<view class="container">
		<view class="list">
			<view v-for="(item, index) in list" :key="index" class="li">
				<view class="row dfn">
					<image :src="item.icon" mode="" class="icon"></image>
					<text>{{item.title}}</text>
				</view>
				
				<view class="row cite">
					<view class="b">
						<text>答</text>
					</view>
					
					<view class="p">
						<text>{{item.desc}}</text>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	const _ = require("@/libs/underscore/underscore-min.js")._
	
	export default {
		data() {
			return {
				list: [
					{
						icon: '/static/fanli/320.png',
						title: '如何获得礼品券？',
						desc: '成为会员后在平台领券后成功下单即可获得礼品'
					},
					{
						icon: '/static/fanli/321.png',
						title: '礼品券可以购物吗？',
						desc: '礼品券可以在平台礼品专区兑换商品'
					},
					{
						icon: '/static/fanli/322.png',
						title: '邀请好友购买有什么权益？',
						desc: '升级成为会员后，邀请用户购买可获得礼品券'
					},
					{
						icon: '/static/fanli/323.png',
						title: '邀请好友成为会员我能获得什么权益？',
						desc: '邀请好友成功注册会员后可获- -级、二级会员50元现金奖励'
					}
				]
			};
		},
		
		computed: {
			shareAppMessage () {
				return this.$store.state.shareAppMessage
			},
			
			userInfo () {
				return this.$store.state.userInfo
			}
		},
	}
</script>

<style>
	page{
		background: #F2F2F2;
	}
</style>

<style lang="less">
	.list{
		padding-top: 30px;
		
		.li{
			width: 690px;
			box-sizing: border-box;
			background: #FFFFFF;
			border-radius: 12px;
			padding: 30px 20px;
			margin: 0 auto 30px;
			
			.row{
				display: flex;
				align-items: center;
			}
			
			.dfn{
				font-size: 30px;
				color: #333333;
				padding-bottom: 18px;
				border-bottom: 1px solid #e6e6e6;
				
				.icon{
					width: 68px;
					height: 68px;
					margin-right: 20px;
				}
			}
			
			.cite{
				margin-top: 20px;
				
				.b{
					font-size: 40px;
					color: #FF3444;
					margin-right: 20px;
				}
				
				.p{
					font-size: 28px;
					color: #333333;
				}
			}
		}
	}
</style>
